import ConfigParser

config_file_name = 'stix.ini'
config = ConfigParser.ConfigParser()
config.read(config_file_name)


namespace = config.get('stix','namespace','http://www.iustu.com')
domain = config.get('stix','domain','iustu')

keystone_url = config.get('keystone', 'host', '127.0.0.1') + ':' + config.get('keystone', 'port', '80')

es_url = config.get('elasticsearch', 'host', '127.0.0.1') + ':' + config.get('elasticsearch', 'port', '9200')
limit_count = config.getint('elasticsearch', 'limit_count')
timeout = config.get('elasticsearch', 'timeout','1s')

